package com.str;

/**
 * String 类
 */
public class Str_01 {
    public static void main(String[] args) {
        //s1被创建之后s1就不可以改变了
        String s1 = "123";
        s1 = "666";

        char[] arr = {1,2,3};

        String s2 = new String(arr);

    }
}
